package com.dao.jdbc.factory;

import com.dao.CustomerDao;
import com.dao.OrderDao;
import com.dao.ProductDao;
import com.dao.factory.DaoFactory;
import com.dao.jdbc.dao.JdbcCustomerDao;
import com.dao.jdbc.dao.JdbcOrderDao;
import com.dao.jdbc.dao.JdbcProductDao;

/**
 * @author ${user}
 */
public class JdbcDaoFactory extends DaoFactory {

    @Override
    public CustomerDao getCustomerDao() {
        return new JdbcCustomerDao();
    }


    @Override
    public ProductDao getProductDao() {
        return new JdbcProductDao();
    }


    @Override
    public OrderDao getOrderDao() {
        return new JdbcOrderDao();
    }
}
